From: Carlos Garnacho Date: Tue, 30 Dec 2025 13:34:00 +0000 (+0100) Subject: dnd: Drop seat state check X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~39^2~1^2~62 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7189bf265dea5499eb4e08faca3cf30f319429d4;p=gnome-shell.git dnd: Drop seat state check Grabs are non-failable now, we do not need to check for the backend seat actually having been able to perform the request. Part-of: --- diff --git a/js/ui/dnd.js b/js/ui/dnd.js index a0096a0b0..d769d1845 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -116,11 +116,6 @@ class _Draggable extends Signals.EventEmitter { _grabEvents(sprite) { const grab = Main.pushModal(_getEventHandlerActor()); - if ((grab.get_seat_state() & Clutter.GrabState.POINTER) === 0) { - Main.popModal(grab); - return; - } - this._grab = grab; this._sprite = sprite; }